This patch adds a check in xend that prevents a user from trying to
authoremellor@ewan <emellor@ewan>
Thu, 22 Sep 2005 10:35:35 +0000 (11:35 +0100)
committeremellor@ewan <emellor@ewan>
Thu, 22 Sep 2005 10:35:35 +0000 (11:35 +0100)
commit3f69932eedf10d5b5b22d6d39ae7aed64f815e6c
treeead2844d14655af531247ce1fb3d4144fb215abf
parent79e2c4bff39d071ef1a681f4ba505bddf61a5790
This patch adds a check in xend that prevents a user from trying to
destroy Dom0.  Currently, xm does not return an error for this case.
Xend tries to destroy dom0 and leaves the system in an unstable
state.  Subsequent attempts to create a domain result in the following
error message:

  Error: Error creating domain: (106, 'Transport endpoint is already \
  connected')

This will fix bugzilla bug #243

Signed-off-by: Dan Smith <danms@us.ibm.com>
tools/python/xen/xend/XendDomain.py